
public class IgnoreItem implements Comparable<IgnoreItem>{
	
	private static final int TIME_OUT = 20;
	int ignoreTimeout;
	final Tile tile;
	
	public IgnoreItem(Tile tile) {
		this.tile = tile;
		ignoreTimeout = TIME_OUT;
	}
	
	public void updateTurn() {
		ignoreTimeout--;
	}

	@Override
	public int compareTo(IgnoreItem item) {
		return tile.compareTo(item.tile);
	}

}
